package cn.classTest.mall.mapper;

import cn.classTest.mall.domain.Goods;
import cn.classTest.mall.query.QueryObject;

import java.util.List;

public interface GoodsMapper {
    List<Goods> queryForPage(QueryObject qo);
    List<Goods> selectAll();
    Goods selectOne(Long id);

    void save(Goods goods);

    void update(Goods goods);
}
